# RT-Thread building script for component

from building import *

cwd     = GetCurrentDir()
src     = []
CPPPATH = [cwd]

if GetDepend('EXTMODS_USING_TEST'):
    src += Glob('test/*.c')

group = DefineGroup('extmods', src, depend = ['PRJ_USING_EXTMODS'], CPPPATH = CPPPATH)

objs = [group]

Return('objs')
